#!/bin/bash

var_y=$(tail -n +3 ./cavity/tttt/matrix_dump.txt | cut -d ":" -f4)
var_x=$(tail -n +3 ./cavity/tttt/matrix_dump.txt | cut -d ":" -f3 | cut -d " " -f2)

echo $var_x > cavity/tttt/x_extract.txt
echo $var_y > cavity/tttt/y_extract.txt
